projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
909bea9
)
* src/json.c (json_parse_error): Fix embarrassing bug.
author
Philipp Stephani
<phst@google.com>
Wed, 20 Dec 2017 17:30:23 +0000
(18:30 +0100)
committer
Philipp Stephani
<phst@google.com>
Wed, 20 Dec 2017 17:30:23 +0000
(18:30 +0100)
src/json.c
patch
|
blob
|
history
diff --git
a/src/json.c
b/src/json.c
index 1c9bf6d49bd3f8a9b17262272db20f2cf0e37f55..6d822224b217f12266c18528eafd97e2b616e941 100644
(file)
--- a/
src/json.c
+++ b/
src/json.c
@@
-254,10
+254,13
@@
json_parse_error (const json_error_t *error)
{
case json_error_premature_end_of_input:
symbol = Qjson_end_of_file;
+ break;
case json_error_end_of_input_expected:
symbol = Qjson_trailing_content;
+ break;
default:
symbol = Qjson_parse_error;
+ break;
}
#else
if (json_has_suffix (error->text, "expected near end of file"))